{include file="/public/header-static"/}
{include file="/public/sidebar"/}

<div id="main">
    {include file="/public/header"/}
    <div class="main-content">
        <div class="container">
            {include file="public/page-header"/}
            <div class="row">
                <div class="col-md-12">
                    <div class="card">
                        <div class="card-body">

                            <div class="row">
                                <div class="col-md-2">
                                    <div class="nav flex-column nav-pills" role="tablist"
                                         aria-orientation="vertical">
                                        {volist name="list" id="lists"}
                                        <a class="nav-link {if $key==0} active {/if}" id="v-pills-home-tab{$key}" data-toggle="pill"
                                           href="#v-pills-home{$key}" role="tab" aria-controls="v-pills-home{$key}"
                                           aria-selected="true">{$lists['apiname']}</a>
                                        {/volist}
                                    </div>
                                </div>
                                <div class="col-md-10">
                                    <form action="" method="post" target="iframe_form" enctype="multipart/form-data" >

                                    <div class="tab-content">
                                        {volist name="list" id="lists"}
                                        <div class="tab-pane fade {if $key==0}show active {/if} " id="v-pills-home{$key}" role="tabpanel"
                                             aria-labelledby="v-pills-home-tab{$key}">
                                                <div class="form-group row">
                                                    <label for="customer[{$lists['id']}]" class="col-sm-1 col-form-label">账号名</label>
                                                    <div class="col-sm-11">
                                                        <input type="text" id="customer[{$lists['id']}]" name="customer[{$lists['id']}]"  class="form-control" value="{$lists['customer']}" placeholder="账号名">
                                                    </div>
                                                </div>
                                                <div class="form-group row">
                                                    <label for="key[{$lists['id']}]" class="col-sm-1 col-form-label">key值</label>
                                                    <div class="col-sm-11">
                                                        <input type="text" id="key[{$lists['id']}]" name="key[{$lists['id']}]"  class="form-control" value="{$lists['key']}" placeholder="key值">
                                                    </div>
                                                </div>
                                            <button type="submit" class="btn btn-secondary">提交</button>
                                        </div>
                                        {/volist}
                                    </div>
                                    </form>

                                </div>
                            </div>


                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {include file="/public/footer"/}
</div>